Just some refresher math

  • $sin\theta = oppisite/hypotenuse$
  • $cos\theta = adjesent/hypotenuse$
  • $tan\theta = oppisite/adjesent$
  • all angles in a tryangle have to add up to 180 degrees

In [9]:
import numpy as np

In [11]:
output = np.arccos(3/5)

In [12]:
np.degrees(output)


Out[12]:
$$53.1301023542$$

In [15]:
(np.degrees(output) * 2 ) + 90


Out[15]:
$$196.260204708$$

In [17]:
output = np.arcsin(3/5)

In [18]:
np.degrees(output)


Out[18]:
$$36.8698976458$$

In [19]:
36.869+53.130+90


Out[19]:
$$179.999$$

In [20]:
output = np.sqrt(5**2 + 3**2)

In [21]:
output


Out[21]:
$$5.83095189485$$

In [ ]: